<?php include_once($_SERVER['DOCUMENT_ROOT']."/controller/common/common_setting_unit.php"); ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--網站語言--><meta http-equiv="Content-Language" content="zh-cn">
<!--網站編碼--><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php include '../coresection/title.php'; ?></title>
<link rel="Shortcut Icon" href="../coresection/logoicon.ico">


</head>

<body style="display:none">



<?php
$new_detail_nid=$_REQUEST['nid'];
?>


<?
//设置需要搜索的表格的前缀后缀
$table_Suffix="link";
$table=$table_Prefix.$table_Suffix;
//设置需要搜索的表格的前缀后缀

?>



<?php
 
	$sql = " DELETE FROM $table WHERE nid=$new_detail_nid";
	sql_log($sql);
$query=mysql_query($sql) or die ('友情链接删除失败！');
    mysql_close($con);

?>






<script type="text/javascript">
 
alert("资料已删除，请点击确认返回继续操作.");
document.location.href = "detail-list.php";
</script>

</body>